module.exports = {
	timer: function(e){
		var time = new Date(e);
		var y = time.getFullYear();
		var m = time.getMonth()+1;
		var d = time.getDate();
		var h = time.getHours();
		var mm = time.getMinutes();
		var s = time.getSeconds();
		return y+'-'+m+'-'+d+' '+h+':'+mm;
	}
}